#include "videocalltipwidget.h"
#include "ui_videocalltipwidget.h"

VideoCallTipWidget::VideoCallTipWidget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::VideoCallTipWidget)
{
    ui->setupUi(this);
    this->setAttribute(Qt::WA_DeleteOnClose, true);
    ui->userTip->setStyleSheet("color: white;");
}

VideoCallTipWidget::~VideoCallTipWidget()
{
    delete ui;
    qDebug() << "视频通话提示窗销毁";
}

QPushButton* VideoCallTipWidget::getAgreeBtn()
{
    return ui->btnAgree;
}
QPushButton* VideoCallTipWidget::getRejectBtn()
{
    return ui->btnRejected;
}
QLabel* VideoCallTipWidget::getUserTip()
{
    return ui->userTip;
}
